package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邮箱发件人账号对象 mail_from_user
 * 
 * @author shushuang
 * @date 2019-10-17
 */
public class MailFromUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String uuid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 邮件host */
    @Excel(name = "邮件host")
    private String mailHost;

    /** 邮件账号 */
    @Excel(name = "邮件账号")
    private String mailUsername;

    /** 邮件账号登录密码(授权码) */
    @Excel(name = "邮件账号登录密码(授权码)")
    private String mailPassword;

    /** 邮件端口 */
    @Excel(name = "邮件端口")
    private String mailPort;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMailHost(String mailHost) 
    {
        this.mailHost = mailHost;
    }

    public String getMailHost() 
    {
        return mailHost;
    }
    public void setMailUsername(String mailUsername) 
    {
        this.mailUsername = mailUsername;
    }

    public String getMailUsername() 
    {
        return mailUsername;
    }
    public void setMailPassword(String mailPassword) 
    {
        this.mailPassword = mailPassword;
    }

    public String getMailPassword() 
    {
        return mailPassword;
    }
    public void setMailPort(String mailPort) 
    {
        this.mailPort = mailPort;
    }

    public String getMailPort() 
    {
        return mailPort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("userId", getUserId())
            .append("mailHost", getMailHost())
            .append("mailUsername", getMailUsername())
            .append("mailPassword", getMailPassword())
            .append("mailPort", getMailPort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
